package file;

import java.io.File;
import java.io.IOException;

/**
 * @Author: KuangJieWen
 * @Date: 2018/2/11 11:59
 * @Description:请在此添加描述
 */
public class File1 {
    public static void main(String[] args) throws IOException {
        File file=new File("a.txt");
        File file1=new File("resources/a.txt");
        System.out.println(file1.getAbsolutePath());
        file1.createNewFile();
        file.createNewFile();
        System.out.println(file.getAbsolutePath());
    }
}
